/MIRROR/GM0 this provider, which represents disk mirroring or duplex.
Consumer-This entity receives I/O requests. In the case of mirror/duplex, this refers to the two-piece hard drive. I used two data cables to connect two IDE hard drives respectively, get/dev/ad0 and/dev/ad2.
Metadata (metadata)--in different RAID, it includes the array members and their size, location, logical disk and partition description and the current state of the disk array.
Srvctl Add database-d mydb-o/ora/ora Instance: Adding an instance to a database Srvctl add instance-d mydb-i mydb0-n gm0 Srvctl add instance-d mydb-i mydb0-n gm0 Srvctl add instance-d mydb-i mydb0-n gm0 SRVCTL Config Displays the configuration information saved in the SRVM configuration file Srvctl Config Database Display the list of d
);
};
gets the specified element
We have two ways to get the matrix element.
Array Method
Because the mat actually holds the data as an array, the data looks like this:
R00 G00 B00 A00 R01 G01 B01 A01 ... r0n g0n b0n a0n
R10 G10 B10 A10 R11 G11 B11 A11 ... r1n g1n b1n a1n
......
Rm0 Gm0 Bm0 Am0 Rm1 Gm1 Bm1 Am1 ... RMN Gmn Bmn Amn
Where capital R, G, B, and a represent the values of each channel, and the subscript first represents the li
... r1n g1n b1n a1n
......
Rm0 Gm0 Bm0 Am0 Rm1 Gm1 Bm1 Am1 ... RMN Gmn Bmn Amn
Where capital R, G, B, and a represent the values of each channel, and the subscript first represents the line number, and the second represents the column number. That is, line K, the G-Channel value of column J is gkj.
We can easily get to a mat type of mat, the K line, each element of the J-column Pixel is:
Rkj = mat.data[(k * Mat.col + j) * 4 + 0]
Gkj = mat.data[
matrix elements.Array Method In fact, Mat stores data in arrays, and the data looks like this:R00 G00 B00 A00 R01 G01 B01 A01 ...... R0n limit n B0n A0nR10 G10 B10 A10 R11 G11 B11 ...... R1n G1n B1n A1n......Rm0 Gm0 Bm0 Am0 Rm1 Gm1 Bm1 Am1 ...... Rmn Gmn Bmn AmnHere, uppercase R, G, B, And A represent the values of each channel, while the first subscript represents the row number and the second represents the column number. That is, the k row, and th
obtain matrix elements.
Array Method In fact, Mat stores data in arrays, and the data looks like this:R00 G00 B00 A00 R01 G01 B01 A01 ...... R0n limit n B0n A0nR10 G10 B10 A10 R11 G11 B11 ...... R1n G1n B1n A1n......Rm0 Gm0 Bm0 Am0 Rm1 Gm1 Bm1 Am1 ...... Rmn Gmn Bmn AmnHere, uppercase R, G, B, And A represent the values of each channel, while the first subscript represents the row number and the second represents the column number. That is, the k row
/userparameter_percona_mysql.conf/etc/zabbix/zabbix_agentd.d/VI/var/lib/zabbix/percona/scripts/ss_get_mysql_stats.php$mysql _user=' root ';$mysql _pass=";$mysql _port= 3306;$mysql _socket=NULL;$mysql _flags= 0Note: The test environment root password is empty if the production environment creates a dedicated read-only account. Need to change config file to restartSystemctl Restart zabbix-the agent is tested and returned to the test results CD/var/lib/zabbix/percona/scripts/./get_mysql_stats_wrapp
_socket = NULL;$mysql _flags = 0;The test environment root password is empty if the production environment creates a dedicated read-only account.Need to change config file to restart/etc/init.d/zabbix-agent restartTesting will return the test resultscd/var/lib/zabbix/percona/scripts/./get_mysql_stats_wrapper.sh GM0./get_mysql_stats_wrapper.sh GW200602. Import templatesImport template times Wrong "tag invalid"/zabbix_export/date ":" Yyyy-mm-ddthh:mm:s
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.